//
//  loginView.h
//  garbageclient
//
//  Created by Wang Wu on 11-9-7.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "registerView.h"
#import "delegatedef.h"

@class XMLRPCConnection;

@interface loginView : UIView <UITextFieldDelegate,UIAlertViewDelegate,
registerViewDelegate>{
    UINavigationBar                     *navBar;
    UILabel                             *namelabel;
    UILabel                             *pslabel;
    UITextField                         *nametext;
    UITextField                         *pstext;
    UIButton                            *loginbtn;
    UIButton                            *registerbtn;
    UIButton                            *forgatbtn;
    NSMutableData                       *webdatabuf;
    NSURLConnection                     *connection;
    XMLRPCConnection                    *xmlconnect;
    registerView                        *regview;
}

@property(nonatomic, assign) NSObject<ViewDelegate> * delegate;

-(void)saveUserData;
@end
